package com.woniuxy.financeassembly.dao;

import com.woniuxy.financeassembly.model.PlatformRecords;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zz
 * @since 2021-05-24
 */
@Mapper
public interface PlatformRecordsMapper extends BaseMapper<PlatformRecords> {

    //查询所有收入流水 status为0或1
    @Select("SELECT * FROM platform_records WHERE status=#{status}")
    public List<PlatformRecords> AllAccount(Integer status);


}
